*,
*:after,
*:before {
  box-sizing: border-box;
}

.container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
  padding: 20px;
}

body {
  font-family: "Inter", sans-serif;
  color: #340417;
  font-size: calc(1em + 1.25vw);
  background-color: white;
}

form {
  display: inline-flex;
  /*display: flex;*/
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
}

label {
  /*display: -webkit-box;*/
  display: inline-flex;
  cursor: pointer;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  margin-bottom: 0.375em;
  /* Accessible outline */
  /* Remove comment to use */
  /*
  	&:focus-within {
  			outline: .125em solid $primary-color;
  	}
  */
}
label input {
  position: absolute;
  left: -9999px;
}
label input:checked + span {
  background-color: white;
}
label input:checked + span:before {
  box-shadow: inset 0 0 0 0.2375em #59A6C9;
}
label span {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  padding: 0.375em 2.375em 0.375em 0.375em;
  border-radius: 99em;
  -webkit-transition: 0.25s ease;
  transition: 0.25s ease;
}
label span:hover {
  background-color: white;
}
label span:before {
  display: -webkit-box;
  display: flex;
  flex-shrink: 0;
  content: "";
  background-color: #fff;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  margin-right: 0.375em;
  -webkit-transition: 0.25s ease;
  transition: 0.25s ease;
  box-shadow: inset 0 0 0 0.115em #59A6C9;
}

.button {
  font-family: "Bungee", cursive;
  font-size: 1.2rem;
  position: relative;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  background: blue;
  border: 2px solid #cb3365;
  padding: 30px 60px;
  border-radius: 45px;
  color: white;
  overflow: hidden;
  box-shadow: 0 2px 4px darkgray;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  z-index: 1;
}
.button .circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background-image: radial-gradient(circle closest-side, white, blue);
  width: 1px;
  height: 1px;
  z-index: 3;
  -webkit-animation-name: ripple;
  animation-name: ripple;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-timing-function: ease-in;
  animation-timing-function: ease-in;
}
.button:hover {
  -webkit-transform: scale(1.01);
  transform: scale(1.01);
  box-shadow: 0 6px 4px darkgray;
}
@-webkit-keyframes ripple {
  0% {
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
    opacity: 0;
  }
  75% {
    -webkit-transform: scale(450, 450);
    transform: scale(450, 450);
    opacity: 0.75;
  }
  100% {
    -webkit-transform: scale(700, 700);
    transform: scale(700, 700);
    opacity: 0;
  }
}

@keyframes ripple {
  0% {
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
    opacity: 0;
  }
  75% {
    -webkit-transform: scale(450, 450);
    transform: scale(450, 450);
    opacity: 0.75;
  }
  100% {
    -webkit-transform: scale(700, 700);
    transform: scale(700, 700);
    opacity: 0;
  }
}